package day07.demo;

public abstract class Transportation {
    private String name;

    public Transportation() {
    }

    public Transportation(String name) {
        this.name = name;
    }

    public String getName(){
        return name;
    }

    public abstract int getSPeed();
}
